package fastjson;

import java.util.HashMap;
import java.util.Map;

public class Tool {
    
    static String[] str = {
            "safasdfasdfsa98=23-98243-87)(*&)(*^)(6q423   424323)(*&)(*&)&(^)&^(*(*)(*&)(&",
            "dfasfasfdsa\":\">\"{PL\":>\":L{O)(_*)&)(#Q&*&(*&### # $)(#$)#(*) # ) (#)(@_@+_@_++--==-=-0=-qw9r-09-834-52-43==0-02-345-=2345=2345=2323/..,,';;][\\\\\\\\||';kllijlji19308408反动派恩斯冬根松岛枫就披萨店发阿斯顿发破损春发奥斯扥",
            "撒发送到发送gas扥破产撒旦法三扥",
            "sadfaosdfsadfjsadfkjasd;ljfsadf;lkjdsafkjasdfasdf",
            "sdfasdfsadf",
            "f访问三扥速度发送到发送到发三扥"
    };
    
    public static Map<String, Object> buildMap() {
        Map<String, Object> map = new HashMap<String, Object>();
        for(int i = 0; i < 20; i++) {
            map.put("str"+i, make());
        }
        map.put("map2", make2());
        map.put("map3", make3());
        return map;
    }
    
    private static Map make(){
        Map map = new HashMap();
        for(int i = 0; i < str.length; i++){
            map.put(str[i], str[i]);
        }
        return map;
    }
    private static Map make2(){
        Map map = new HashMap();
        for(int i = 0; i < str.length; i++){
            map.put(str[i], str[i]);
        }
        for(int i = 0; i < 20; i++) {
            map.put("str"+i, make());
        }
        return map;
    }    private static Map make3(){
        Map map = new HashMap();
        for(int i = 0; i < str.length; i++){
            map.put(str[i], str[i]);
        }
        for(int i = 0; i < 20; i++) {
            map.put("str"+i, make2());
        }
        return map;
    }
}